//package com.pjj.transactionservice.listener;
//
//import org.springframework.amqp.rabbit.annotation.Exchange;
//import org.springframework.amqp.rabbit.annotation.Queue;
//import org.springframework.amqp.rabbit.annotation.QueueBinding;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
//@Component
//public class SpringRabbitListener{
//
//	@RabbitListener(bindings = @QueueBinding(
//			value = @Queue(name = "direct.doInvestigation"),
//			exchange = @Exchange(name = "direct.doInvestigation"),
//			key = {"red","blud"}
//	))
//    public void listenDirectQueue(String msg){
//        System.out.println("消费者接收到direct.diInvestigation消息：【" + msg + "】");
//    }
//}